import Vue from 'vue';
import VueRouter from 'vue-router';
//引入相关页面
import Largescreen from '../views/largescreen.vue'
import Login from '../views/login.vue'
import Camera from '../views/camera.vue'
import Video from '../views/video.vue'
import Smoking from '../views/smoking.vue'
import Crashhelment from '../views/crashhelment.vue'



// import Home from '../views/home.vue'
// import Map from '../views/map.vue'
//vue引入路由插件
// Vue.use(VueRouter);
Vue.use(VueRouter);
const routes = [

  { path: '/', component: Login },
  { path: '/Login', component: Login },
  { path: '/Largescreen', component: Largescreen },
  { path: '/Camera', component: Camera },
  { path: '/Video', component: Video },
  { path: '/Smoking', component: Smoking },
  { path: '/Crashhelment', component: Crashhelment },




  // { path: '/map', component: Map },
  // { path: '/home', component: Home }

]
export default new VueRouter({
  routes
});